@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${drugs.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                <#input id="name" name="药品名称" value="${drugs.name}" underline="true"/>

                <#input id="effect" name="药品效果"  value="${drugs.effect}" underline="true"/>

                <#input id="price" name="药品价格"  value="${drugs.price}" underline="true"/>
                    <#input id="typename" name="药品类型"  hidden="typeid"
                    hiddenValue="${drugs.typeid}" value="${typename}"
                    clickFun="DrugsInfoDlg.showDrugsType(); return false;"
                    style="background-color: #ffffff !important;"/>
                </div>
            </div>
            <!-- 父级部门的选择框 -->
            <div id="parentDrugsTypeMenu" class="menuContent"
                 style="display: none; position: absolute; z-index: 200;">
                <ul id="parentDrugsTypeMenuTree" class="ztree tree-box" style="width: 245px !important;"></ul>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="DrugsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DrugsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/drugs/drugs/drugs_info.js"></script>
@}
